package com.by.service;

import com.by.mapper.SetmealPicMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SetmealServiceImpl implements SetmealService {
    @Autowired
    private SetmealPicMapper setmealPicMapper;

    @Override
    public List<String> selectSetmeal() {
        return setmealPicMapper.selectSetmeal();
    }

    @Override
    public void deleteSetmealPicByPicName(String picName) {
        setmealPicMapper.deleteSetmealPicByPicName(picName);
    }
}
